package com.building18.service;

import com.building18.pojo.User;
import com.building18.pojo.dto.EditUserDTO;
import com.building18.pojo.dto.UserDTO;

import java.util.List;

public interface UserService {
    List<User> selectUser();

    Integer updateUser(User user);

    Integer deleteUser(Integer id);

    User login(UserDTO userDTO);

    void beforeDeleteRole(Integer id);

    Integer updateUserData(EditUserDTO dto);
}
